<?php

namespace Part08_FactoryMethodModel\Code2;

/**
 * @desc: 减法运算类
 * @date: 2021/10/19
 */
class OperationSub extends Operation
{
    public function getResult(){
        return $this->getNumA() - $this->getNumB();
    }
}